<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf" %>
<script type="text/javascript" src="${ctx}/js/finance/purchasingmanagement/customerCutMaterial_add.js">
</script>

<script type="text/javascript" src="${ctx}/js/jedate/jedate.js"></script>

<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
}

.col-sm-9 {
	width: 85%;
	float: left;
}
label[class^="btn btn-default"]{
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/quality/qualityabnormal_addEntity.shtml">
		<input type="hidden" class="form-control checkacc"
			name="qualityAbnormalFormMap.id" id="id">
		<section class="panel panel-default">
		<div class="panel-body">
		
		
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">模具编号</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"
						placeholder="发件主题" name="qualityAbnormalFormMap.moldNumber" id="nc_code_group_no">
				</div>
			</div>
		
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">客户名称</label>
				<div class="col-sm-9">
					<select class="form-control" name="qualityAbnormalFormMap.clientId" >
						<option value=" ">请选择</option>
						<c:forEach var="c" items="${clientFormMaps }">
							<option value="${c.id }">${c.name }</option>
						</c:forEach>
					</select>	
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任业务</label>
				<div class="col-sm-9">
					<select class="form-control" name="qualityAbnormalFormMap.salesman" >
						<option value=" ">请选择</option>
						<c:forEach var="b" items="${business }">
							<option value="${b.id }">${b.userName }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			
		
		<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入不良问题" name="qualityAbnormalFormMap.productName" id="nc_code_group_desc">
				</div>
			</div>
			
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任班别</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入不良问题" name="qualityAbnormalFormMap.groups" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任QA</label>
				<div class="col-sm-9">
					<select class="form-control" name="qualityAbnormalFormMap.qa">
						<option value="0">请选择</option>
						<c:forEach var="q" items="${qa }">
							<option value="${q.id }">${q.userName }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任QC</label>
				<div class="col-sm-9">
					<select class="form-control" name="qualityAbnormalFormMap.qc">
						<option value="0">请选择</option>
						<c:forEach var="q" items="${qc }">
							<option value="${q.id }">${q.userName }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任包装班长</label>
				<div class="col-sm-9">
					<select class="form-control" name="qualityAbnormalFormMap.monitor">
						<option value="0">请选择</option>
						<c:forEach var="m" items="${monitor }">
							<option value="${m.id }">${m.userName }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任工作级别</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入不良问题" name="qualityAbnormalFormMap.classificationGroup" id="nc_code_group_desc">
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">责任部门</label>
				<div class="col-sm-9">
					<select class="form-control" name="qualityAbnormalFormMap.departmentId" >
						<option value=" ">请选择</option>
						<c:forEach var="d" items="${departmentForMaps }">
							<option value="${d.id }">${d.name }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">投诉类别</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkName"
						placeholder="请输入不良问题" name="qualityAbnormalFormMap.complaintCategory" id="nc_code_group_desc">
				</div>
			</div>
			
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">质量类别</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"
						name="qualityAbnormalFormMap.qualityCategory"    />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">投诉方式</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"
						name="qualityAbnormalFormMap.articlesWay"    />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">不合格描述</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"  
						name="qualityAbnormalFormMap.description"    />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">数量</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh"  
						name="qualityAbnormalFormMap.many"    />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">生产日期</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" id="predictDeliver" 
						name="qualityAbnormalFormMap.producedDate"    />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">处理方式</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" 
						name="qualityAbnormalFormMap.processMode"    />
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">备注</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkabh" 
						name="qualityAbnormalFormMap.remark"    />
				</div>
			</div>
			
			</div>
			
			
		</div>
		<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
		</footer> 
		</section>
	</form>
	<script type="text/javascript">
		jeDate({
			dateCell : "#predictDeliver",
			format : "YYYY-MM-DD hh:mm:ss",
			isinitVal : false,
			isTime : true,
			isClear : false,
			minDate : "2014-09-19 00:00:00"
		});
	</script>
	
</body>
</html>